[INFO] fetching crate serial-windows 0.4.0...
[INFO] checking serial-windows-0.4.0 against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] extracting crate serial-windows 0.4.0 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate serial-windows 0.4.0 on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate serial-windows 0.4.0
[INFO] finished tweaking crates.io crate serial-windows 0.4.0
[INFO] tweaked toml for crates.io crate serial-windows 0.4.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ef4fc3fd2e3f0c23bb52168023c31861a84596d7b10960a47d3974de82480e5e
[INFO] running `Command { std: "docker" "start" "-a" "ef4fc3fd2e3f0c23bb52168023c31861a84596d7b10960a47d3974de82480e5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ef4fc3fd2e3f0c23bb52168023c31861a84596d7b10960a47d3974de82480e5e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef4fc3fd2e3f0c23bb52168023c31861a84596d7b10960a47d3974de82480e5e", kill_on_drop: false }`
[INFO] [stdout] ef4fc3fd2e3f0c23bb52168023c31861a84596d7b10960a47d3974de82480e5e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1fac9ae08b23e95e1ec9dedeb9fc33206cb7182a21740e57b3632ad1aa3ea7c5
[INFO] running `Command { std: "docker" "start" "-a" "1fac9ae08b23e95e1ec9dedeb9fc33206cb7182a21740e57b3632ad1aa3ea7c5", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.144
[INFO] [stderr]     Checking serial-core v0.4.0
[INFO] [stderr]     Checking serial-windows v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/com.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::os::windows::prelude::*;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]   --> src/com.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::os::windows::prelude::*;
[INFO] [stdout]    |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `AsRawHandle` in this scope
[INFO] [stdout]   --> src/com.rs:94:6
[INFO] [stdout]    |
[INFO] [stdout] 94 | impl AsRawHandle for COMPort {
[INFO] [stdout]    |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RawHandle` in this scope
[INFO] [stdout]   --> src/com.rs:95:32
[INFO] [stdout]    |
[INFO] [stdout] 95 |     fn as_raw_handle(&self) -> RawHandle {
[INFO] [stdout]    |                                ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `AsRawHandle` in this scope
[INFO] [stdout]   --> src/com.rs:94:6
[INFO] [stdout]    |
[INFO] [stdout] 94 | impl AsRawHandle for COMPort {
[INFO] [stdout]    |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/com.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |             try!(port.set_timeout(timeout));
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RawHandle` in this scope
[INFO] [stdout]   --> src/com.rs:95:32
[INFO] [stdout]    |
[INFO] [stdout] 95 |     fn as_raw_handle(&self) -> RawHandle {
[INFO] [stdout]    |                                ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/com.rs:61:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |             try!(port.set_timeout(timeout));
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/com.rs:77:47
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let mut status: DWORD = unsafe { mem::uninitialized() };
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/com.rs:77:47
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let mut status: DWORD = unsafe { mem::uninitialized() };
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a foreign function or static
[INFO] [stdout]   --> src/error.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |       #[link_name = "kernel32"]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 40 | /     extern "system" {
[INFO] [stdout] 41 | |         fn FormatMessageW(flags: DWORD,
[INFO] [stdout] 42 | |                           lpSrc: LPVOID,
[INFO] [stdout] 43 | |                           msgId: DWORD,
[INFO] [stdout] ...  |
[INFO] [stdout] 48 | |                           -> DWORD;
[INFO] [stdout] 49 | |     }
[INFO] [stdout]    | |_____- not a foreign function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] help: try `#[link(name = "kernel32")]` instead
[INFO] [stdout]   --> src/error.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     #[link_name = "kernel32"]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(unused_attributes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a foreign function or static
[INFO] [stdout]   --> src/error.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |       #[link_name = "kernel32"]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 40 | /     extern "system" {
[INFO] [stdout] 41 | |         fn FormatMessageW(flags: DWORD,
[INFO] [stdout] 42 | |                           lpSrc: LPVOID,
[INFO] [stdout] 43 | |                           msgId: DWORD,
[INFO] [stdout] ...  |
[INFO] [stdout] 48 | |                           -> DWORD;
[INFO] [stdout] 49 | |     }
[INFO] [stdout]    | |_____- not a foreign function or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] help: try `#[link(name = "kernel32")]` instead
[INFO] [stdout]   --> src/error.rs:39:5
[INFO] [stdout]    |
[INFO] [stdout] 39 |     #[link_name = "kernel32"]
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(unused_attributes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `serial-windows` (lib) due to 4 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `serial-windows` (lib test) due to 4 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1fac9ae08b23e95e1ec9dedeb9fc33206cb7182a21740e57b3632ad1aa3ea7c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1fac9ae08b23e95e1ec9dedeb9fc33206cb7182a21740e57b3632ad1aa3ea7c5", kill_on_drop: false }`
[INFO] [stdout] 1fac9ae08b23e95e1ec9dedeb9fc33206cb7182a21740e57b3632ad1aa3ea7c5
